package com.jd.jr.insights.dm.dim.service.impl;



import com.jd.jr.insights.dm.dim.dao.RuleDao;
import com.jd.jr.insights.dm.dim.dao.impl.RuleDaoImpl;
import com.jd.jr.insights.dm.dim.service.RuleService;

import com.alibaba.fastjson.JSON;


/**
 * Created by Administrator on 2017/7/15.
 */
public class RuleServiceImpl implements RuleService {

    RuleDao ruleDao=new RuleDaoImpl();
    public String getRuleJson() {

        return JSON.toJSONString(ruleDao.getList());
    }

    public String getRuleDepartment_1_2Json() {
        return JSON.toJSONString(ruleDao.getRuleDepartment_1_2List());
    }

    public String getRuleCategory_level_3Json() {
        return JSON.toJSONString(ruleDao.getRuleCategory_level_3List());
    }

    public String getRuleBusiness_sequence_4_7Json() {
        return JSON.toJSONString(ruleDao.getRuleBusiness_sequence_4_7List());
    }
}
